﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;

namespace UtopianGame.graphics.menu
{
    class InitialInvestmentButton : TextMenuButton
    {
        public InitialInvestmentButton(ContentManager cm)
        {
            base.init(cm, "New turn");
        }

        protected override void executeFunction()
        {
            GlobalDataHolder.removeGraphicalObject(this);
            GlobalDataHolder.makeEverythingActive();
            GameFlowSystem.startNewTurn();
        }
    }
}
